package com.grad.webstudy.service;

import com.grad.webstudy.model.Code;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 服务层
 * @Author: zjf
 * @Date: 2020/1/15 11:25.
 */
public interface CodeService {

    /**
     * 运行代码
     * @param code
     * @return
     */
    public String runCode(Code code);

    /**
     * 查询当前用户历史代码
     * @return
     */
    public List<Code> findCode();
}
